package org.zeroes.Events;

public class ZSCondition {
	public static int LOOP_FOREVER=9999999;
	public String name;
	public int repeats=1;
	public int repeated=0;
	public int frameNumber=0;
	public int frameCount=0;
	public int duration=0;
	public int delay=0;
	public int accumdt=0;
	private int trigcount;
	public boolean stoped=false;
	public boolean paused=false;
	
	public ZSCondition(String n , int tc){
		
		this.name=n;
		this.trigcount=tc;
	}
	
	public int getTrigeringCount(){
		
		return this.trigcount;
	}
	
	public void addTime(float t){
		accumdt+=t;
		
	}

}
